<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: subscribe.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('subscribe_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">subscribe.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="address_8h_source.html">address.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="coap__io_8h_source.html">coap_io.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="block_8h_source.html">block.h</a>&quot;</code><br />
</div>
<p><a href="subscribe_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__subscription__t.html">coap_subscription_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subscriber information.  <a href="structcoap__subscription__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga8f172a982abdbb1c45fc5bdb90a23da4" id="r_ga8f172a982abdbb1c45fc5bdb90a23da4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#ga8f172a982abdbb1c45fc5bdb90a23da4">COAP_OBSERVE_ESTABLISH</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga8f172a982abdbb1c45fc5bdb90a23da4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The value COAP_OBSERVE_ESTABLISH in a GET request indicates a new observe relationship for (sender address, token) is requested.  <br /></td></tr>
<tr class="separator:ga8f172a982abdbb1c45fc5bdb90a23da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51750fd894c457a4fe45f06c96641b2f" id="r_ga51750fd894c457a4fe45f06c96641b2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#ga51750fd894c457a4fe45f06c96641b2f">COAP_OBSERVE_CANCEL</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga51750fd894c457a4fe45f06c96641b2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The value COAP_OBSERVE_CANCEL in a GET request indicates that the observe relationship for (sender address, token) must be cancelled.  <br /></td></tr>
<tr class="separator:ga51750fd894c457a4fe45f06c96641b2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga823232351cb2bd203d2b34555f0c1d37" id="r_ga823232351cb2bd203d2b34555f0c1d37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#ga823232351cb2bd203d2b34555f0c1d37">COAP_OBS_MAX_NON</a>&#160;&#160;&#160;5</td></tr>
<tr class="memdesc:ga823232351cb2bd203d2b34555f0c1d37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of notifications that may be sent non-confirmable before a confirmable message is sent to detect if observers are alive.  <br /></td></tr>
<tr class="separator:ga823232351cb2bd203d2b34555f0c1d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0e2f9142cbad18a6a1989177fd0f5cb" id="r_gac0e2f9142cbad18a6a1989177fd0f5cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#gac0e2f9142cbad18a6a1989177fd0f5cb">COAP_OBS_MAX_FAIL</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:gac0e2f9142cbad18a6a1989177fd0f5cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of confirmable notifications that may fail (i.e.  <br /></td></tr>
<tr class="separator:gac0e2f9142cbad18a6a1989177fd0f5cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gab0c93d8bdcb0a9db0178d0c46b7497ed" id="r_gab0c93d8bdcb0a9db0178d0c46b7497ed"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structcoap__subscription__t.html">coap_subscription_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#gab0c93d8bdcb0a9db0178d0c46b7497ed">coap_subscription_t</a></td></tr>
<tr class="memdesc:gab0c93d8bdcb0a9db0178d0c46b7497ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subscriber information.  <br /></td></tr>
<tr class="separator:gab0c93d8bdcb0a9db0178d0c46b7497ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaa5db7653f7503be4810d593c5b61ed90" id="r_gaa5db7653f7503be4810d593c5b61ed90"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__observe.html#gaa5db7653f7503be4810d593c5b61ed90">coap_subscription_init</a> (<a class="el" href="structcoap__subscription__t.html">coap_subscription_t</a> *)</td></tr>
<tr class="separator:gaa5db7653f7503be4810d593c5b61ed90"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a14d23a24002734ac2a3b997119f008e.html">coap2</a></li><li class="navelem"><a class="el" href="subscribe_8h.html">subscribe.h</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
